<?xml version="1.0" encoding="UTF-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  <CodeSnippet Format="1.0.0">
    <Header>
      <Title>Web delegate</Title>
      <Author>LSANTANA</Author>
      <Description>Define o corpo de uma pagina do Siga2 com as regions obrigatorias.</Description>
      <Shortcut>s2deleg</Shortcut>
    </Header>
    <Snippet>
      <Declarations>
        <Literal>
          <ID>FazerOque</ID>
          <Type>String</Type>
          <ToolTip>Qual o nome do evento disparado pelo UserControl?</ToolTip>
          <Default>[Acao_interna_ao_Evento]</Default>
        </Literal>
        <Literal>
          <ID>QualSubRecebe</ID>
          <Type>
          </Type>
          <ToolTip>Qual rotina recebera o evento?</ToolTip>
          <Default>[Sub_rotina]</Default>
        </Literal>
        <Object>
          <ID>QualUserControl</ID>
          <Type>Object</Type>
          <ToolTip>Qual UserControl dispara o evento? </ToolTip>
          <Default>[informe_o_user_control]</Default>
        </Object>
      </Declarations>
      <Code Language="VB" Kind="type decl"><![CDATA[Dim _delegateAo$FazerOque$ As New PageDelegate(AddressOf Me.$QualSubRecebe$)
      $QualUserControl$.On$FazerOque$ = _delegateAo$FazerOque$]]></Code>
    </Snippet>
  </CodeSnippet>
</CodeSnippets>